package com.blrs.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 website_management
 *
 * @author ruoyi
 * @date 2024-01-25
 */
public class WebsiteManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    private String titleName;

    /** 网站 */
    @Excel(name = "网站")
    private String websiteName;

    /** 发布人id */
    @Excel(name = "发布人id")
    private Long publisherId;

    /** 发布人 */
    @Excel(name = "发布人")
    private String publisherName;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publisherTime;

    /** 发布类型 */
    @Excel(name = "发布类型")
    private String publisherType;

    private Integer orderNum;
    private Date creationTime;


    private Long creationId;

    private String creationName;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setTitleName(String titleName)
    {
        this.titleName = titleName;
    }

    public String getTitleName()
    {
        return titleName;
    }
    public void setWebsiteName(String websiteName)
    {
        this.websiteName = websiteName;
    }

    public String getWebsiteName()
    {
        return websiteName;
    }
    public void setPublisherId(Long publisherId)
    {
        this.publisherId = publisherId;
    }

    public Long getPublisherId()
    {
        return publisherId;
    }
    public void setPublisherName(String publisherName)
    {
        this.publisherName = publisherName;
    }

    public String getPublisherName()
    {
        return publisherName;
    }
    public void setPublisherTime(Date publisherTime)
    {
        this.publisherTime = publisherTime;
    }

    public Date getPublisherTime()
    {
        return publisherTime;
    }
    public void setPublisherType(String publisherType)
    {
        this.publisherType = publisherType;
    }

    public String getPublisherType()
    {
        return publisherType;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setCreationId(Long creationId)
    {
        this.creationId = creationId;
    }

    public Long getCreationId()
    {
        return creationId;
    }
    public void setCreationName(String creationName)
    {
        this.creationName = creationName;
    }

    public String getCreationName()
    {
        return creationName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("titleName", getTitleName())
                .append("websiteName", getWebsiteName())
                .append("publisherId", getPublisherId())
                .append("publisherName", getPublisherName())
                .append("publisherTime", getPublisherTime())
                .append("publisherType", getPublisherType())
                .append("creationTime", getCreationTime())
                .append("creationId", getCreationId())
                .append("creationName", getCreationName())
                .toString();
    }
}
